/*
*  Copyright 2019-2023 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import cn.hutool.core.bean.BeanUtil;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.bean.copier.CopyOptions;
import me.zhengjie.base.BaseEntity;

import java.sql.Timestamp;
import java.io.Serializable;

/**
* @description /
* @author huangwencong
* @date 2024-10-07
**/
@Data
@TableName("train_qyty")
public class TrainQyty extends BaseEntity implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "训练ID")
    private Long trainId;

    @ApiModelProperty(value = "训练项目ID")
    private Long trainItemId;

    @ApiModelProperty(value = "训练前(血氧饱和|心率|呼吸|血压)")
    private String xlq;

    @ApiModelProperty(value = "7500m即刻(血氧饱和|心率|呼吸|血压)")
    private String xljk;

    @ApiModelProperty(value = "7500m 20min(血氧饱和|心率|呼吸|血压)")
    private String xl20;

    @ApiModelProperty(value = "7500m 40min(血氧饱和|心率|呼吸|血压)")
    private String xl40;

    @ApiModelProperty(value = "7500m 60min(血氧饱和|心率|呼吸|血压)")
    private String xl60;

    @ApiModelProperty(value = "7500m 80min(血氧饱和|心率|呼吸|血压)")
    private String xl80;

    @ApiModelProperty(value = "7500m 100min(血氧饱和|心率|呼吸|血压)")
    private String xl100;

    @ApiModelProperty(value = "7500m 120min(血氧饱和|心率|呼吸|血压)")
    private String xl120;

    @ApiModelProperty(value = "7500m 140min(血氧饱和|心率|呼吸|血压)")
    private String xl140;

    @ApiModelProperty(value = "7500m 160min(血氧饱和|心率|呼吸|血压)")
    private String xl160;

    @ApiModelProperty(value = "7500m 180min(血氧饱和|心率|呼吸|血压)")
    private String xl180;

    @ApiModelProperty(value = "7500m 200min(血氧饱和|心率|呼吸|血压)")
    private String xl200;

    @ApiModelProperty(value = "7500m 220min(血氧饱和|心率|呼吸|血压)")
    private String xl220;

    @ApiModelProperty(value = "7500m 240min(血氧饱和|心率|呼吸|血压)")
    private String xl240;

    @ApiModelProperty(value = "7500m 260min(血氧饱和|心率|呼吸|血压)")
    private String xl260;

    @ApiModelProperty(value = "7500m 280min(血氧饱和|心率|呼吸|血压)")
    private String xl280;

    @ApiModelProperty(value = "7500m 300min(血氧饱和|心率|呼吸|血压)")
    private String xl300;

    @ApiModelProperty(value = "7500m 320min(血氧饱和|心率|呼吸|血压)")
    private String xl320;

    @ApiModelProperty(value = "7500m 340min(血氧饱和|心率|呼吸|血压)")
    private String xl340;

    @ApiModelProperty(value = "7500m 360min(血氧饱和|心率|呼吸|血压)")
    private String xl360;

    @ApiModelProperty(value = "训练后(血氧饱和|心率|呼吸|血压)")
    private String xlh;

    @ApiModelProperty(value = "主观症状(症状id1|症状id2|...)")
    private String feels;

    @ApiModelProperty(value = "书写表现")
    private String sxbx;

    @ApiModelProperty(value = "结果判定")
    private Integer result;

    @ApiModelProperty(value = "建议")
    private String jy;

    @ApiModelProperty(value = "记录日期")
    private Timestamp date;



    public void copy(TrainQyty source){
        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
    }
}
